import http from "../../utils/http"

const customerLevel = {
    // 获取 客户等级列表
    getcustomerList: (data) => http.get('/customer_level/list', data),
    // 新增 客户等级
    addcustomer: (data) => http.post('/customer_level/add', data),
    // 编辑 客户等级
    editcustomer: (data) => http.put('/customer_level/edit', data),
    // 删除 客户等级（支持单个和批量删除）
    deletecustomer: (ids) => http.delete('/customer_level/delete', { ids }),

}

export default customerLevel;